home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / swtools / mipsABI / examples / sup / PORT / step01 / Makefile.diff next >
Encoding:
Makefile  |  1994-08-02  |  1.3 KB  |  49 lines

  1. *** ../dist/Makefile    Thu Dec 16 11:59:38 1993
  2. --- Makefile    Thu Dec 16 12:07:33 1993
  3. ***************
  4. *** 71,85 ****
  5.   AFS_LIBPATH        = /usr/afs/lib
  6.   AFS_LIBS        = -L${AFS_LIBPATH}/afs -lkauth -lprot -L${AFS_LIBPATH} -lubik -lauth -lrxkad -lsys -ldes -lrx -llwp -lcmd -lcom_err -lc ${AFS_LIBPATH}/afs/util.a
  7.   
  8. - .if exists(/usr/lib/libcrypt.a) && exists(${.CURDIR}/crypt/crypt.c) && !defined(EXPORTABLE_SYSTEM)
  9. - USE_CRYPT        = yes
  10. - .endif
  11. - .if defined(USE_CRYPT)
  12. - NETBSD_LIBS        = -lcrypt -lutil
  13. - .else
  14.   NETBSD_LIBS        = -lutil
  15. - .endif
  16.   CMUCS_LIBS        = -lsys
  17.   OSF_LIBS        = -lbsd
  18.   LIBS            = libextra.a
  19. --- 71,77 ----
  20. ***************
  21. *** 90,99 ****
  22.   
  23.   
  24.   all: ${PROGRAMS}
  25. - .if defined(USE_CRYPT)
  26. -     @echo "WARNING: You have built a NON-exportable version of sup because it uses crypt()!"
  27. -     @echo "    To build a crypt-clean version define EXPORTABLE_SYSTEM=true and make."
  28. - .endif
  29.   
  30.   sup: ${sup_OFILES} ${LIBS}
  31.       ${CC} ${CFLAGS} -o sup ${sup_OFILES} ${LIBS} ${NETBSD_LIBS}
  32. --- 82,87 ----
  33. ***************
  34. *** 117,128 ****
  35.       install -c -m 444 -o bin -g bin ${MAN8} ${NETBSD_MAN8}
  36.   
  37.   netcrypt.c: crypt.diffs
  38. - .if defined(USE_CRYPT)
  39. -     ed - crypt/crypt.c < crypt.diffs
  40. - .else
  41.       @echo "[ Using netcryptvoid.c ]"
  42.       cp netcryptvoid.c netcrypt.c
  43. - .endif
  44.   
  45.   scan.o:    sup.h
  46.   scm.o:    sup.h
  47. --- 105,112 ----
  48.